home *** CD-ROM | disk | FTP | other *** search
- # INPUT LANGUAGE
-
- Language OBJECT # Known languages:
- # HP (default; Pascal Workstation version)
- # MODCAL (HP's advanced Pascal)
- # HP-UX (almost same as HP)
- # TURBO (vers 5.0 for IBM PC)
- # OREGON (Oregon Software Pascal-2 V2.1)
- # VAX (VAX/VMS Pascal)
- # MODULA (Modula-2)
- # UCSD (almost same as TURBO)
- # MPW (MPW Pascal 2.0 for the Mac)
- # OBJECT (Object Pascal, e.g., MPW or Think)
- # BERK (SUN Berkeley Pascal)
- # TIP (Texas Instruments Pascal)
-
- Modula2 # 1=Use modula-2 block structure (IF-END)
- # 0=Use Pascal block structure (IF-BEGIN-END)
- # default=1 if Language=MODULA, 0 for others
-
- Integer16 # 1=assume Pascal integers are 16 bits
- # 0=assume Pascal integers are 32 bits
- # 2=use native C "int" for Pascal "integer"
- # default=0 for HP/Oregon/VAX, 1 for Turbo/MPW
-
- DoubleReals # 1=convert Pascal real to C double
- # 0=convert Pascal real to C float
- # default=1 for Turbo and HP-UX, 0 for HP
-
- UnsignedChar # 1=Pascal char must be unsigned
- # 0=Pascal char must be signed
- # 2=doesn't matter; use native C "char"
- # default=unsigned, but use native "char"
-
- NeedSignedByte # 1=use "signed char" even if not available
- # 0 or default=use "short" if not sure
-
- PascalEnumSize # Size in BITS of a Pascal enum type.
- # Default=according to Language.
-
- NestedComments # 1=Pascal comments may be nested
- # 2=comments don't nest, but { must match }
- # 0=comments are unnested, unmatched
- # default=0 in HP/MODCAL, 2 in Turbo
-
- ExternWords external # Words analogous to "forward" for declaring
- ExternWords extern # procedures or functions external.
- ExternWords fortran
-
- CExternWords nonpascal # Words like ExternWords but for which any
- CExternWords # leading and/or trailing "_" is removed
- CExternWords # from the Pascal function/variable names.
-
- ImportAll # 1=read all of each imported file, in case
- # file contains several modules/units
- # 0=read only interface text of first module
- # default=1 in HP/MODCAL, 0 in others
-
- ImplModules # 1=MODULE starts a block like PROGRAM.
- # 0=MODULEs have export/implement sections.
-
- TurboObjects # 1=Turbo Pascal-style OOP support
- # 0=Object Pascal-style OOP support
- # default=1 in Turbo, 0 in MPW/Object
-
- PascalSignif # Number of significant characters in Pascal
- # identifiers; default=unlimited
-
- PascalCaseSens # 1=Pascal idents are case-sensitive,
- # keywords and predef words are u.c. or l.c.
- # 2=case-sens, keywords and predef words u.c.
- # 3=case-sens, keywords and predef words l.c.
- # 0=not case-sensitive
- # default=2 in Modula-2, otherwise 0
-
- DollarIdents # 1='$' is legal in Pascal and C identifiers
- # 2=convert '$' (and '%') in idents into C '_'
- # 0='$' is for HP directives/Turbo hex consts
- # default=1 for Oregon & VAX Pascal only
-
- IgnoreNonAlpha # 1=ignore _, $, % in Pascal identifiers
- # 0=retain them (subject to DollarIdents)
- # default=1 for UCSD, 0 otherwise
-
- InputTabSize # Number of characters per tab stop in input
- # file, for reading Pascal indentation.
- # Default=8.
-
- SeekBase # Index of first record in a file, for SEEK.
- # default=0 for Turbo/UCSD/MPW, 1 otherwise.
-
- LowPrecLogicals # 1=AND, OR, NOT have lowest precedence.
- # 0=AND has same prec as *, OR same as +.
- # default=1 for TIP, 0 otherwise.
-
- CommonExtern # 1=TIP "common" variables are decl'd "extern"
- # 0 or default=TIP commons are decl'd plain.
-
- InputTabSize # Number of characters per tab stop in input
- # file, for reading Pascal indentation.
- # Default=8.
-
- ReplaceBefore "{$ifc undefined" "{EMBED #ifndef" # Textual replacements on input text lines:
- ReplaceBefore "{$ifc " "{EMBED #if " # "ReplaceBefore foo = bar" replaces all
- ReplaceBefore "{$elsec" "{EMBED #else" # occurrences of "foo" with "bar" while
- ReplaceBefore "{$endc" "{EMBED #endif" # reading. Strings may be quoted if they
- ReplaceBefore "{$setc" "{EMBED #define" # contain spaces or "=" signs. Currently
- ReplaceBefore # only literal matches are done, not patterns.
-
-
-